﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CWB.Web.DB.DbModelCategoryVoice>" %>
<%@ Import Namespace="CWB.Web.DB" %>
<%@ Import Namespace="CWB.Web.Mvc.Extensions" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <input type="hidden" id="sn" value="<%=Model.sn %>" />
        <table class="width100 ui-widget-content ui-corner-all">
        <COLGROUP>
          <COL WIDTH="100%">
        </COLGROUP>        
        <tbody>
	        <tr><td>Category:</td><td><input type="text" id="category" value="<%=Model.Category %>" /></td>
	        </tr>
	        <tr><td colspan="2">
    	        <a href="#" id="btnSave" class="align-right ui-state-default ui-corner-all"><span class="align-right ui-icon ui-icon-pencil"></span><% =Resources.Text.Btn_Save %></a></td>
	        </tr>
        </tbody>	        
        </table>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="header" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="JSContent" runat="server">
    <script>
        var error = '<%=ViewData["error"] %>';
    </script>
    <script type="text/javascript" src="<%= Url.CdnContent("/js/Voice/VoiceCategoryUpdate.js") %>"></script>
</asp:Content>